package com.usian.security.exception;

import lombok.Data;

/**
 * ClassName: CustomException
 * Author:   WGG
 * Date:    2022-12-2022/12/21-10:21
 * Version: 1.0
 * Description:
 */
@Data
public class CustomException extends RuntimeException{

    private String message;

    public CustomException(String message) {
        super(message);
        this.message = message;
    }

    public CustomException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }
}
